/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Robot;
import lejos.robotics.subsumption.Behavior;
/**
 *
 * @author zach
 */
public class goForward implements Behavior{
    private boolean kill=false;
    public boolean takeControl() {
        return true;
    }

    public void action() {
        kill=false;
        while(!kill){
            Configureation.getPilot().travel(25f);
        }
    }

    public void suppress() {
        kill=true;
    }

}
